

<?php echo validation_errors(); ?>
<?php echo @$errors; ?>

<?php //$hidden = array('token' => $token);
echo form_open('user/register',''); ?>

<h5>user name</h5>
<input type="text" name="username" value="<?php echo set_value('username'); ?>" size="50" />

<h5>passsword</h5>
<input type="text" name="password" value="<?php echo set_value('password'); ?>" size="50" />

<h5>again password</h5>
<input type="text" name="passconf" value="<?php echo set_value('passconf'); ?>" size="50" />

<h5>email</h5>
<input type="text" name="email" value="<?php echo set_value('email'); ?>" size="50" />

<h5>phone</h5>
<input type="text" name="phone" value="<?php echo set_value('phone'); ?>" size="50" />

<h5>city</h5>
<input type="text" name="city" value="<?php echo set_value('city'); ?>" size="50" />

<div><input type="submit" value="reg!" /></div>

</form>
